Hibernate 4
Hibernate 4 is the latest version of Hibernate which was released in Jan, 2012. Hibernate 4 comes with many new features such as Multi-tenancy support. Hibernate is popular ORM tool in Java. It can be used with the JPA to persist, update, query and delete the persistence objects.
Here are the major features of Hibernate 4:
- Multi-tenancy support
- The introduction of the "Services" API
- Better logging with i18n support and message codes. It is done via JBoss Logging instead of slf4j.
- Preparation for OSGI support
- In Hibernate 4 there are several other cleanups/removal of deprecated code
You can also migrate your Hibernate 3 code to Hibernate 4.
Brief features of Hibernate 4:
- support for initial multi-tenancy
- ServiceRegistry Introduction
- SessionFactory session clean up
- Improvement in Integration through org.hibernate.integrator.spi.Integrator and auto discovery
- Improvement in logging due to i18n support and message codes
- more clear separation between API
- SPI and implementation classes
- deprecated functions
- classes clean up
Where to learn Hibernate 4?
You can learn Hibernate 4 from our website. We have give many examples on Hibernate 4. All the examples are supported with the source code which can be downloaded from the same tutorial page. You will find download at the end of tutorial page.
Learn Hibernate 4 with the help of following tutorials:
- Introduction To Hibernate 4.0
- What's New In Hibernate 4.0 release
- Hibernate Architecture
- Download Hibernate 4
- Hibernate create POJO classes
- Hibernate Configuration File
- First Hibernate Application : Insert Record using Hibernate Save
Method
- Hibernate 4 Example With Eclipse
- Hibernate Supported Databases List
- Hibernate <generator> Element
- Hibernate 4 Annotations
- Hibernate 4 Annotation Example
- Hibernate update Method
- Hibernate persist Method
- Hibernate saveOrUpdate Method
We hope you will find all these tutorials on Hibernate 4 very useful.